package com.arpa.wms.mapper;

import com.arpa.wms.domain.dto.PackBillingMethodDTO;
import com.arpa.wms.domain.entity.PackBillingMethod;
import com.arpa.wms.domain.vo.PackBillingMethodVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 打包计费方式 Mapper 接口
 * </p>
 *
 * @author rfwang
 * @since 2021-06-29
 */
public interface PackBillingMethodMapper extends BaseMapper<PackBillingMethod> {
    /**
     * 查询列表
     * @param packBillingMethodDTO
     * @return
     */
    List<PackBillingMethodVO> queryList(PackBillingMethodDTO packBillingMethodDTO);

    /**
     * 查询合计,包含总数
     * @param packBillingMethodDTO
     * @return
     */
    PackBillingMethodVO queryListSum(PackBillingMethodDTO packBillingMethodDTO);
}
